package com.bjsxt.collection;

import java.util.List;
import java.util.Vector;

//与ArrayList的区别是Vector线程安全，效率低
public class VectorTest {
    public static void main(String[] args) {
        List<String> v =new Vector<>();
        v.add("a");
        v.add("b");
        v.add("c");
        System.out.println(v);

    }

}
